package com.baizhi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
@ToString
public class Banner implements Serializable {

    //轮播图
    private Integer bannerId;
    private String bannerImageUrl;
    private String bannerOldName;
    private Integer bannerState;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date bannerDate;
    private String bannerDescription;

}
